package com.oa.xinxi.biz;

import static org.junit.Assert.*;

import javax.annotation.Resource;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.oa.xinxi.entity.JianBao;
import com.oa.xinxi.entity.News;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:spring.xml")
public class JianBaoBizTest {
	@Resource
	JianBaoBiz jianBaoBiz;
	@Test
	public void testSave() {
		for (int i = 0; i < 10; i++) {
			JianBao jianBao = new JianBao();
			jianBao.setTitle("标题"+i);
			jianBao.setJianbaoContent("内容"+i);
			jianBaoBiz.save(jianBao);
		}
	}

	@Test
	public void testDeleteById() {
		fail("Not yet implemented");
	}

	@Test
	public void testUpdate() {
		fail("Not yet implemented");
	}

	@Test
	public void testFindById() {
		fail("Not yet implemented");
	}

	@Test
	public void testFindAll() {
		fail("Not yet implemented");
	}

}
